﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Demo.Api.Entities;

namespace Demo.Api.Models
{
    public class FlowChartDto
    {
        /// <summary>
        ///     流程名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        ///     说明
        /// </summary>
        public string Remarks { get; set; }

        public FlowChartDo ToTabFlowChart()
        {
            return new FlowChartDo() { Name = Name, Remarks = Remarks };
        }
    }
}
